/**
 * Project Name:sq580_ow;<br/>
 * File Name:UserService;<br/>
 * Package Name:com.sq580.ow.service.impl;<br/>
 * Date: 2018-06-22 14:53;<br/>
 * Copyright (c) 2018, www.sq580.com All Rights Reserved.;<br/>
 */
package com.sq580.ow.service;

import com.sq580.ow.bean.User;

import java.util.List;

/**
 * ClassName: UserService<br/>
 * Function: TODO ADD FUNCTION(可选)<br/>
 * Reason: TODO ADD REASON(可选)<br/>
 * Date: 2018-06-22 14:53<br/>
 *
 * @author xiawei
 */
public interface UserService {
    User getUserById(Integer id);

    public List<User> getUserList();

    public int add(User user);

    public int update(Integer id, User user);

    public int delete(Integer id);

}